
package com.abcijkxyz.service.gtvg;

import java.util.List;

import com.abcijkxyz.domain.gtvg.Order;
import com.abcijkxyz.repository.gtvg.OrderRepository;

public class OrderService {

	public OrderService() {
		super();
	}

	public List<Order> findAll() {
		return OrderRepository.getInstance().findAll();
	}

	public Order findById(final Integer id) {
		return OrderRepository.getInstance().findById(id);
	}

	public List<Order> findByCustomerId(final Integer customerId) {
		return OrderRepository.getInstance().findByCustomerId(customerId);
	}

}
